package com.hnchances.service.impl;

import com.hnchances.entity.Student;
import com.hnchances.mapper.StudentMapper;
import com.hnchances.service.StudentService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 *  服务实现类
 * </p>
 *

 */
@Service
public class StudentServiceImpl extends ServiceImpl<StudentMapper, Student> implements StudentService {

    @Resource
    private StudentMapper studentMapper;
    @Override
    public Student findStudentByIdCard(String idCard) {
        return studentMapper.findStudentByIdCard(idCard);
    }
}
